home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-02-02 | 887 b | 31 lines | [TEXT/GEOL] |
- Item 5325555 1-Feb-90 19:47PST
-
- From: MACAPP.TEST MacApp SQA Team
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: re: OpenOld w/o SFDLog
-
- I also have a couple of programs which open documents without the SF dialog.
- Chuck's description is helpful. In my case, it was sufficient to get the file
- in the application's folder, so I just used the application's working
- directory, which I computed in IMyApplication as follows:
-
- PROCEDURE TTestApplication.ITestApplication;
- VAR volName : Str255;
- BEGIN
- ...
- IApplication();
- ...
- FailOSErr(GetVol(@volName, gwdRefNum));
- ...
- END;
-
- I then used gwdRefNum in the AppFile record passed to OpenOld. MacApp has
- generally kept me blissfully ignorant of the File Manager, so I may be missing
- something, but the above seemed to work for me.
-
- Regards,
- Richard Rodseth
-
-